package com.lagou.task03;

/**
 * 用户消费信息类
 */
public class People {
    private int time;
    private int flow;
    private int money;
    public People(){

    }

    public People(int time, int flow, int money) {
        this.time = time;
        this.flow = flow;
        this.money = money;
    }

    public int getTime() {
        return time;
    }

    public void setTime(int time) {
        this.time = time;
    }

    public int getFlow() {
        return flow;
    }

    public void setFlow(int flow) {
        this.flow = flow;
    }

    public int getMoney() {
        return money;
    }

    public void setMoney(int money) {
        this.money = money;
    }
   public void show(){
       System.out.println("通话时间长"+getTime()+"上网流量:"+getFlow()+"每月消费金额:"+getMoney());
   }
}
